﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.Models
{
	/// <summary>
	/// Ordre de tri des liste de produit
	/// </summary>
	[DataContract]
	public class SortProperty
	{
		public SortProperty()
		{
			Type = typeof(string);
		}
		[DataMember]
		public string PropertyName { get; set; }
		[IgnoreDataMember]
		public Type Type { get; set; }
		[DataMember]
		public System.ComponentModel.ListSortDirection Direction { get; set; }
		[DataMember]
		public string ColumnName { get; set; }
	}
}
